package com.jy.adscm.spss.controller;


import com.jy.adscm.spss.service.Base_incomeexpenditureService;
import com.jy.adscm.support.SimpleCoreResponse;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author yyy
 * @since 2018-11-08
 */
@RestController
@RequestMapping("/base_incomeexpenditure")
public class Base_incomeexpenditureController {

    @Autowired
    Base_incomeexpenditureService base_incomeexpenditureService;

    @RequestMapping("/queryPlan")
    public SimpleCoreResponse queryProduction(String szlx) throws Exception {
        return new SimpleCoreResponse("200","查询成功",base_incomeexpenditureService.loadPlanTotal(szlx));

    }


}

